#include "mygl.h"

myGL::myGL(QWidget *parent) : QOpenGLWidget(parent)
{

}

void myGL::initializeGL()
{
    initializeOpenGLFunctions();
    this->CardName=QString((char*)glGetString(GL_VENDOR));
    this->CardRender=QString((char*)glGetString(GL_RENDERER));
    this->CardVersion=QString((char*)glGetString(GL_VERSION));
    emit inited();
}
